<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改信息</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改信息</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/book/updateBook" method="post">

        <input type="hidden" name="bookID" value="${book.getBookID()}"/>
        <div class="form-group row">
            <label for="input1" class="col-sm-1 col-form-label">书籍名称</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="input1" name="bookName" value="${book.getBookName()}">
            </div>
        </div>
        <div class="form-group row">
            <label for="input2" class="col-sm-1 col-form-label">书籍数量</label>
            <div class="col-sm-10">
                <input type="number" class="form-control" id="input2" name="bookCounts" value="${book.getBookCounts()}">
            </div>
        </div>
        <div class="form-group row">
            <label for="input3" class="col-sm-1 col-form-label">书籍详情</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="input3" name="detail" value="${book.getDetail() }">
            </div>
        </div>
        <div class="form-group row">
            <div class="col-sm-10">
                <button type="submit" class="btn btn-primary btn-lg" >提交</button>
            </div>
        </div>
    </form>
</div>